﻿using Admin.NET.Core;
using System.ComponentModel.DataAnnotations;

namespace Admin.EcsWeb.Service.PatCell.Dto;

    /// <summary>
    /// PatCellService基础输入参数
    /// </summary>
    public class PatCellBaseInput
    {
        /// <summary>
        /// 线体
        /// </summary>
        public virtual string Pline { get; set; }
        
        /// <summary>
        /// 型号
        /// </summary>
        public virtual string Model_No { get; set; }
        
        /// <summary>
        /// 批次号
        /// </summary>
        public virtual string Lot_No { get; set; }
        
        /// <summary>
        /// 托盘号
        /// </summary>
        public virtual string TRAYID { get; set; }
        
        /// <summary>
        /// 通道号
        /// </summary>
        public virtual decimal Channel { get; set; }
        
        /// <summary>
        /// 电芯号
        /// </summary>
        public virtual string CELLID { get; set; }
        
        /// <summary>
        /// 电阻
        /// </summary>
        public virtual decimal IR { get; set; }
        
        /// <summary>
        /// 电压
        /// </summary>
        public virtual decimal OCV { get; set; }
        
        /// <summary>
        /// PATID
        /// </summary>
        public virtual decimal IDXNO { get; set; }

    /// <summary>
    /// 组装时间
    /// </summary>
       public virtual string Date_Time { get; set; }
        
        /// <summary>
        /// 创建时间
        /// </summary>
        public virtual DateTime CREATETIME { get; set; }
        
        /// <summary>
        /// 更新时间
        /// </summary>
        public virtual DateTime UPDATETIME { get; set; }
        
        /// <summary>
        /// 创建者Id
        /// </summary>
        public virtual decimal CREATEUSERID { get; set; }
        
        /// <summary>
        /// 修改者Id
        /// </summary>
        public virtual decimal UPDATEUSERID { get; set; }
        
        /// <summary>
        /// 软删除
        /// </summary>
        public virtual decimal ISDELETE { get; set; }
        
        /// <summary>
        /// 信息
        /// </summary>
        public virtual string MESSAGE { get; set; }
        
    }

    /// <summary>
    /// PatCellService分页查询输入参数
    /// </summary>
    public class PatCellInput : BasePageInput
    {
        /// <summary>
        /// 托盘号
        /// </summary>
        public string TRAYID { get; set; }
        
        /// <summary>
        /// 电芯号
        /// </summary>
        public string CELLID { get; set; }
        
    }

    /// <summary>
    /// PatCellService增加输入参数
    /// </summary>
    public class AddPatCellInput : PatCellBaseInput
    {
    }

    /// <summary>
    /// PatCellService删除输入参数
    /// </summary>
    public class DeletePatCellInput : BaseIdInput
    {
        /// <summary>
        /// 主键Id
        /// </summary>
        [Required(ErrorMessage = "主键Id不能为空")]
        public decimal ID { get; set; }
        
    }

    /// <summary>
    /// PatCellService更新输入参数
    /// </summary>
    public class UpdatePatCellInput : PatCellBaseInput
    {
        /// <summary>
        /// 主键Id
        /// </summary>
        [Required(ErrorMessage = "主键Id不能为空")]
        public decimal ID { get; set; }
        
    }

    /// <summary>
    /// PatCellService主键查询输入参数
    /// </summary>
    public class QueryByIdPatCellInput : DeletePatCellInput
    {

    }
